#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
	/*菜单*/




	/* 结构体写出学生体检，病例信息 */  
struct Phy_exam
{
	char ID[30];    /*学号*/
	char name[30];	/*名字*/	
	char sex;		/*性别*/
	char grade;     /*系别*/
	int age;		/*年龄*/
	double height;	/**/	
	double weight;
	double chestSize;
	double date; 	
};
	
struct Illness
{
	char ID[30];
	char name[30];
	char sex;
	char grade;
	char diagnose;
	double date;
};

/*登记学生健康信息*/
struct Phy_exam Menu()
{
	struct Phy_exam student;
	{
		printf("-----欢迎来到学生健康系统-----");
		printf("\n请输入您的学号：\n");
		scanf("%s", &student.ID);	
		printf("\n\t请输入您的名字：\n");
		scanf("%s", &student.name);
		printf("\n请输入您的性别：\n");
		scanf("%s", &student.sex);
		printf("\n请输入您的系别：\n");
		scanf("%s", &student.grade);
		printf("\n请输入您的年龄：\n");
		scanf("%d", &student.age);
		printf("\n请输入您的身高：\n");
		scanf("%lf", &student.height);
		printf("\n请输入您的体重：\n");
		scanf("%lf", &student.weight);
		printf("\n请输入您的胸围：\n");
		scanf("%lf", &student.chestSize);
		printf("\n请输入当前日期：\n");
		scanf("%s", &student.date);
		
		return student;		
	}
	
	/*修改*/
	
int main(int argc, char *argv[]) 
{
	struct Phy_exam student;
	
	student = Menu();
	
	return 0;
}